package yns.springboot.common.sample.page;

import yns.springboot.common.sample.base.bean.BaseBean;
import yns.springboot.common.sample.base.dao.BaseDao;

public interface Pagination<T extends BaseBean> {

	public PaginationInfo<T> paging(BaseDao<T> dao, PaginationInfo<T> paginationInfo);

	public PaginationSearchInfo<T> search(BaseDao<T> dao, PaginationSearchInfo<T> paginationSearchInfo);
}
